﻿namespace EOrm
{
    /// <summary>
    /// 数据库类型
    /// </summary>
    public enum DbStyle
    {
        /// <summary>
        /// sqlserver
        /// </summary>
        SqlServer = 0,
        /// <summary>
        /// postgres
        /// </summary>
        Postgres,
        /// <summary>
        /// sqlite
        /// </summary>
        Sqlite,
        /// <summary>
        /// mysql
        /// </summary>
        MySql,
        /// <summary>
        /// oracle
        /// </summary>
        Oracle,
        /// <summary>
        /// access
        /// </summary>
        Access
    }

    /// <summary>
    /// 条件语句的逻辑
    /// </summary>
    internal enum WhereCondition
    {
        /// <summary>
        /// 与
        /// </summary>
        AND = 0,
        /// <summary>
        /// 或
        /// /// </summary>
        OR
    }

    /// <summary>
    /// 排序语句的方法
    /// </summary>
    internal enum OrderWay
    {
        /// <summary>
        /// 降序
        /// </summary>
        DESC = 0,
        /// <summary>
        /// 升序
        /// </summary>
        ASC
    }
}
